<include file="head"/>

                <div class="m-table-box">
                    <div class="fliter-box">
                        <form action="/index.php/Agent/user_salary" method="get" id="form">
                           
                            <div class="record-filter clearfix">
                               
                                <span>开始日期：</span>
                                <input type="text" placeholder="输入日期：yyyy-MM" readonly value="<?php echo $_GET['start_time']?>" name="start_time" class="form-control form_datetime form-input" id="dbegin" onfocus="WdatePicker({maxDate:'%y-%M-%d'})" />
                                <span>结束日期：</span>
                                <input type="text" placeholder="输入日期：yyyy-MM" readonly value="<?php echo $_GET['end_time']?>" name="end_time" class="form-control form_datetime form-input" id="dend" onfocus="WdatePicker({maxDate:'%y-%M-%d'})" />
                                <div class="fl filer-button" onclick="getLoad();"><a href="javascript:void(0);">搜索</a></div>
                            </div>
                        </form>
                    </div>
                    <div class="a-table _a">
                        <table border="0" cellpadding="0" cellspacing="0" class="tbl-main">
                            <thead>
                                <tr>
                                  
                                    <th>结算日期</th>               
                                  
                                    <th>下注金额</th>
                                    <th>工资</th> 
                                </tr>
                            </thead>
                            <tbody id="info">
							<foreach name="list" item="vo">
                                <tr>
                                   
                                  
                                    <td><?php echo date('Y-m-d',$vo['add_time'])?></td>
                                
                                    <td style="text-align:right;">{$vo.money}</td>
                                    <td style="text-align:right;">{$vo.salary}</td>
                                </tr>
								</foreach>
                            </tbody>
                            <tfoot>
                                <tr>
                                  <td style="text-align:right;">合计：</td>
                                
                                  <td style="text-align:right;">{$money}</td>
                                <td style="text-align:right;">{$fanli}</td> 
                                </tr>
                            </tfoot>
                        </table>
                    </div>
                    <div class="a-table _b" style="">
                        <div class="page-box" id="page">{$page} </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="__HOME_CSS__/agent/js/jquery-1.js"></script>
        <script src="__HOME_CSS__/agent/js/layer.js"></script>
        <script src="__HOME_CSS__/agent/js/My97DatePicker/WdatePicker.js"></script>
        <script>
		function getLoad(){
		$("#form").submit();
		}
            function goIndex(){
                window.location.href = "index.html";
            }

            function salfOut(){
                // $.post("/app/member/index/loginOut",{t:Math.random()},function(data){
                //     if(data.status<=0){
                //         layer.alert(data.info);
                //         return false;
                //     }else{
                //         window.location.href="/agent/login.html";
                //     }
                // },"json");
                window.location.href="login.html";
            }
        </script>
    </body>
</html>